{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import requests\n",
    "\n",
    "rqq=requests.get('https://www.tipdm.org/captcha.svl')\n",
    "\n",
    "with open('./captcha.jpg','wb')as f:#将上边的信息写入并保存到本地文件里\n",
    "    f.write(rqq.content)#写入"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXAAAAC6CAYAAAC3HRZZAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjMsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+AADFEAAAgAElEQVR4nO2de5BU1bXGv8Xg+4UgKoIIJIgSSxFHLj7KWBpLHhZoFTeCxosJiSblrWuuViU+KiUmmtJUgvggKBGuaCxfkbpSxmgMAsby+hhEQYIK+IABBIyixiS+2PePPrP55qRXzxmm+8yc5vtVWaw+c7rPPnvv3vb6zlprWwgBQgghike3zm6AEEKIHUMLuBBCFBQt4EIIUVC0gAshREHRAi6EEAVFC7gQQhSUDi3gZjbKzF43s9VmdkW1GiWEEKJtbEfjwM2sAcAbAM4A0AzgRQCTQgh/qV7zhBBCeHTkF/gIAKtDCG+GED4DcD+A8dVplhBCiLbo3oH39gWwjl43A/i3Sm844IADwoABAzpwSSGE2PlYsmTJeyGE3unjHVnArcyxf9FjzOwiABcBQP/+/dHU1NSBSwohxM6Hmb1T7nhHJJRmAIfS634ANqRPCiHMCiE0hhAae/f+l/+BCCGE2EE6soC/CGCwmQ00s10BTAQwvzrNEkII0RY7LKGEEL4ws/8E8ASABgBzQggrqtYyIYQQFemIBo4QwmMAHqtSW4QQQrQDZWIKIURB0QIuhBAFRQu4EEIUFC3gQghRULSACyFEQdECLoQQBUULuBBCFBQt4EIIUVC0gAshREHRAi6EEAVFC7gQ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Dr6HVzcqxuMbMBAI4F8DyAg0IIG4HSIg/gwM5rWdWZDuBHAFr2D+sFYGsIoWXPsXob60EAtgD4n0Q2utPM9kIdj3EIYT2AXwJYi9LC/SGAJajvcW7BG9dOX9PyXMDLVYWv2xAYM9sbwMMAfhhC+Kiz21MrzOwsAJtDCEv4cJlT62msuwMYDmBmCOFYlMpD1I1cUo5E9x0PYCCAQwDshZKEkKaexrktOn2e57mANwM4lF73A7Ahx+vnhpntgtLifW8IYV5yeFOLe5X8u7mz2ldlTgIwzszeRkkWOw2lX+Q9ElcbqL+xbgbQHEJ4Pnn9O5QW9HodYwD4BoC3QghbQgifA5gH4ETU9zi34I1rp69peS7gL9Q7j30AAAErSURBVAIYnDy13hWlByDzc7x+LiT672wAK0MI0+hP8wFMTuzJAB7Ju221IIRwZQihXwhhAEpj+lQI4XwACwFMSE6rm/sFgBDCuwDWmdmQ5NDpAP6COh3jhLUARprZnskcb7nnuh1nwhvX+QD+I4lGGQngwxapJTdCCLn9B2AMgDcArAFwdZ7XzvEeT0bJjVoG4OXkvzEo6cILAKxK/u3Z2W2twb2fCuDRxB4E4AUAqwE8BGC3zm5fle91GICmZJz/F8D+9T7GAK4F8BqAVwHcA2C3ehtnAPehpPF/jtIv7CneuKIkocxI1rPlKEXo5NpeZWIKIURBUSamEEIUFC3gQghRULSACyFEQdECLoQQBUULuBBCFBQt4EIIUVC0gAshREHRAi6EEAXl/wHz+pbbIgsUlgAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "请输入验证码:qegc\n"
     ]
    }
   ],
   "source": [
    "import matplotlib.pyplot as plt\n",
    "\n",
    "pic=plt.imread('./captcha.jpg')#读取当前工作路径下的jpg文件，imread是图片的读取\n",
    "plt.imshow(pic)\n",
    "plt.show()\n",
    "a=input('请输入验证码:')#手动输入"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'qegc'"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "a"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# request库配置代理ip，处理验证码跳过"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<Response [200]>"
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "proxies={'http':'http://123.131.207.236:9999'}#配置代理ip的参数proxies，它接收dict字典格式\n",
    "requests.get('https://www.tipdm.org',proxies=proxies)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 使用post请求方法登录"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<Response [200]>"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import requests\n",
    "url='https://www.tipdm.org/login.jspx'\n",
    "login={'username': '17832177097' ,#账号\n",
    "      'password': 'zxc789789',#密码\n",
    "      'captcha': 'enhk',}#验证码\n",
    "requests.post(url,login)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXAAAAC6CAYAAAC3HRZZAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjMsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+AADFEAAAeG0lEQVR4nO2de6xV1bXGv8HDJ6XHBwJyRKilitoi5ETRWmu1bajYYqo2VKOk2pI0Ndprk1a96cPGa6+pld5rjC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u7e4+DpU+vcfdTwRwL4Djst1a5noBwN1fA7DazPbONh0J4Cm0aB9nvAxgqpntkI3x7mtu2X4mon5dAODkLBplKoC3u6WWwnD3wv4AOArAswCeA/CfRZ67wGs8FBU36nEAj2Z/jkJFF14EYGX2986NbusAXPvhAG7P7M8AeBDAKgA3Ati20e2r87UeAKAz6+dbAezU6n0M4FwATwNYDuAaANu2Wj8D+BMqGv9HqDxhnxr1KyoSyiXZfPYEKhE6hbZXmZhCCFFSlIkphBAlRRO4EEKUFE3gQghRUjSBCyFESdEELoQQJUUTuBBClBRN4EIIUVI0gQshREn5f2wH4Zup3GReAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "请输入验证码:ahqs\n"
     ]
    }
   ],
   "source": [
    "import requests\n",
    "import matplotlib.pyplot as plt\n",
    "s=requests.Session()#创建一个会话，使下面的操作都在同一个客户端中\n",
    "url='https://www.tipdm.org/login.jspx'\n",
    "\n",
    "rqq=s.get('https://www.tipdm.org/captcha.svl')\n",
    "with open('./captcha.jpg','wb')as f:#将上边的信息写入并保存到本地文件里\n",
    "    f.write(rqq.content)#写入\n",
    "    \n",
    "pic=plt.imread('./captcha.jpg')#读取当前工作路径下的jpg文件，imread是图片的读取\n",
    "plt.imshow(pic)\n",
    "plt.show()\n",
    "a=input('请输入验证码:')#手动输入\n",
    "\n",
    "login={'username': '17832177097' ,#账号\n",
    "      'password': 'zxc789789',#密码\n",
    "      'captcha': a,}#验证码"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "rqq=s.post(url,data=login)#登录"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'username': '17832177097', 'password': 'zxc789789', 'captcha': 'ahqs'}"
      ]
     },
     "execution_count": 15,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "login"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'https://www.tipdm.org/bdrace/index.html'"
      ]
     },
     "execution_count": 17,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "rqq.url#url页面成功跳转"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\\n<head>\\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\\n<title>BdRace数睿思_数据挖掘竞赛平台</title>\\n<link type=\"text/css\" rel=\"stylesheet\" href=\"/r/cms/www/red/css/index.css\" />\\n<link href=\"/r/cms/front.css\" rel=\"stylesheet\" type=\"text/css\"/>\\n<script src=\"/r/cms/jquery.js\" type=\"text/javascript\"></script>\\n<script src=\"/r/cms/front.js\" type=\"text/javascript\"></script>\\n<!--[if lt IE 9]> \\n<script src=\"/r/cms/www/red/js/html5shiv.min.js\"></script>\\n<script src=\"/r/cms/www/red/js/respond.min.js\"></script>\\n<![endif]-->\\n</head>\\n<body>\\n<script src=\"/r/cms/easyui/plugins/jquery.form.js\" type=\"text/javascript\"></script>\\n<script src=\"/r/cms/easyui/plugins/jquery.validate.js\" type=\"text/javascript\"></script>\\n<script src=\"/r/cms/front.js\" type=\"text/javascript\"></script>\\n<!--start top class -->\\n<script type=\"text/javascript\">\\n\\tfunction guidGenerator() {\\n\\t\\tvar S4 = function() {\\n\\t\\t\\treturn (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);\\n\\t\\t};\\n\\t\\treturn (S4() + S4() + \"-\" + S4() + \"-\" + S4() + \"-\" + S4() + \"-\" + S4()+ S4() + S4());\\n\\t}\\n\\tvar cookie = {};\\n\\tcookie.set = function(n, v, t) {\\n\\t\\tvar exp = new Date();\\n\\t\\texp.setTime(exp.getTime() + (t || 24) * 60 * 60 * 1000 * 365);\\n\\t\\tdocument.cookie = n + \"=\" + escape(v) + \";expires=\" + exp.toGMTString()+ \\';path=/\\';\\n\\t}\\n\\n\\tcookie.get = function(n) {\\n\\t\\tvar arr = document.cookie.match(new RegExp(\"(^| )\" + n+ \"=([^;]*)(;|$)\"));\\n\\t\\tif (arr != null) {\\n\\t\\t\\treturn unescape(arr[2]);\\n\\t\\t}\\n\\t\\treturn null;\\n\\t}\\n\\n\\tvar uniqueVisitorId;\\n\\tvar co = cookie.get(\\'uniqueVisitorId\\');\\n\\tif (co != null) {\\n\\t\\tuniqueVisitorId = cookie.get(\\'uniqueVisitorId\\');\\n\\t} else {\\n\\t\\tuniqueVisitorId = guidGenerator();\\n\\t\\tcookie.set(\\'uniqueVisitorId\\', uniqueVisitorId);\\n\\t}\\n    window.onload = function(){\\n        var timestamp = (new Date()).getTime();\\n        if(timestamp<1586504136000)\\n\\t\\t{\\n\\t\\t    if(document.getElementById(\"hiddenp\")!=null){\\n            \\tdocument.getElementById(\"hiddenp\").style.visibility=\"hidden\";\\n            }\\n\\t\\t}\\n    }\\n</script>\\n<!--头部开始-->\\n<div id=\"hp\" class=\"hp\">\\n\\t<div class=\"header\">\\n\\t\\t<div class=\"headerDiv\">\\n\\t\\t\\t<a class=\"logo\" href=\"/\"></a>\\n\\t\\t\\t<div id=\"Menu\" class=\"Menu\">\\n\\t\\t\\t\\t<ul class=\"ul1\">\\n\\t\\t\\t\\t\\t\\t<li class=\"li1  cur\">\\n\\t\\t\\t\\t\\t\\t\\t<a\\tclass=\"a1  selected \" href=\"/\"target=\"_self\">首 页</a>\\n\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t<li class=\"li1 \">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a\\tclass=\"a1 \"href=\"/bdrace/tzjingsai\" target=\"\">挑战赛</a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<ul id=\"ul149\" class=\"ul2\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"http://www.tipdm.org/tzjingsai/1628.jhtml\">第八届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"http://www.tipdm.org/bdrace/tzjingsai/20181226/1544.html\">第七届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"/bdrace/tzjingsai/20170921/1253.html\">第六届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"/bdrace/tzjingsai/20161227/1030.html\">第五届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"/bdrace/tzjingsai/20160401/712.html\">第四届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"/bdrace/tzjingsai/20150301/613.html\">第三届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"/bdrace/tzjingsai/20140301/612.html\">第二届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"/bdrace/tzjingsai/20130301/611.html\">第一届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t<li class=\"li1 \">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a\\tclass=\"a1 \"href=\"/bdrace/jljingsai\" target=\"\">技能赛</a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<ul id=\"ul407\" class=\"ul2\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"http://www.tipdm.org/bdrace/jljingsai/20190809/1605.html\">第二届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"/bdrace/jljingsai/20181008/1488.html\">第一届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t<li class=\"li1 \">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a\\tclass=\"a1 \"href=\"https://www.tipdm.org/bdrace/jsgsmcm/\" target=\"_blank\">苏研数模</a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<ul id=\"ul427\" class=\"ul2\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"https://www.tipdm.org/bdrace/jsgsmcm/20200526/1647.html\">2020年（第二届）苏研数模</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"http://www.tipdm.org/jssyjssxjmkycxsjds/1564.jhtml\">2019年（第一届）苏研数模</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t<li class=\"li1 \">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a\\tclass=\"a1 \"href=\"/bdrace/notices/\" target=\"\">新闻动态</a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<ul id=\"ul150\" class=\"ul2\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t<li class=\"li1 \">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a\\tclass=\"a1 \"href=\"https://edu.tipdm.org\" target=\"_blank\">云课堂</a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<ul id=\"ul424\" class=\"ul2\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t<li class=\"li1 \">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a\\tclass=\"a1 \"href=\"http://mx.tipdm.org/\" target=\"\">模型交易</a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<ul id=\"ul219\" class=\"ul2\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t</ul>\\n\\t\\t\\t</div>\\n<div id=\"loginCsiDiv\" class=\"cutLink\"></div>\\n<script type=\"text/javascript\">\\n$(function(){\\n\\tCms.loginCsi(\"\",\"loginCsiDiv\",{\"returnUrl\":\"https://www.tipdm.org/member/index.jspx\"});\\n});\\n</script>\\t\\t\\t<div class=\"clear\"></div>\\n\\t\\t</div>\\n\\t</div>\\n</div>\\n<!--头部结束-->\\n<!--end top class --><div class=\"member-con\">\\n  <div class=\"m-pos\"><a href=\"/\">首页</a> &gt; <span>会员中心</span></div>\\n  <div class=\"member clearfix\">\\n    <div class=\"memberLeft clearfix\">\\n      <div class=\"member-nav\">\\n        <ul>\\n<li class=\"uInfo\">\\n      <div class=\"memberImg\"><img src=\"/r/cms/www/red/images/userImg-large.png\"></div>\\n      <div class=\"memberName\">您好，<span>17832177097</span></div>\\n      <div class=\"memberOut\"><a href=\"/logout.jspx\">退出</a></div>\\n      <div class=\"uGroup\">个 </div>\\n</li>          <li><a href=\"/member/index.jspx\" class=\"on\">个人资料</a></li>\\n          <li><a href=\"/member/contribute_list.jspx\">投稿管理</a></li>\\n          <li><a href=\"/member/doc_list.jspx?modelId=9\">文档管理</a></li>\\n          <li><a href=\"/member/resume.jspx\">应聘管理</a></li>\\n          <li><a href=\"/member/mycomments.jspx\">我的评论</a></li>\\n          <li><a href=\"/member/myguestbook.jspx\">我的留言</a></li>\\n          <li><a href=\"/member/collection_list.jspx\">我的收藏</a></li>\\n          <li><a href=\"/member/message_mng.jspx\">站内信息</a></li>\\n          <li><a href=\"/member/account.jspx\">服务中心</a></li>\\n        </ul>\\n      </div>\\n      <div class=\"member-main\">\\n        <div class=\"member-child\"><a href=\"/member/index.jspx\" class=\"on\">用户信息</a>|<a href=\"/member/profile.jspx\">修改个人资料</a>|<a href=\"/member/portrait.jspx\">更换头像</a>|<a href=\"/member/pwd.jspx\">修改密码</a></div>\\n        <div class=\"member-text\">\\n          <table cellpadding=\"0\" cellspacing=\"0\" class=\"userInfo\">\\n            <tbody>\\n              <tr>\\n                <td class=\"s-p\">用户昵称：</td>\\n                <td>17832177097</td>\\n                <td class=\"s-p\">会员组别：</td>\\n                <td width=\"40%\" class=\"hyzb\">个人会员</td>\\n              </tr>\\n              <tr>\\n                <td class=\"s-p\">性别：</td>\\n                <td>保密</td>\\n                <td class=\"s-p\">出生日期：</td>\\n                <td></td>\\n              </tr>\\n              <tr>\\n                <td class=\"s-p\">真实姓名：</td>\\n                <td></td>\\n                <td class=\"s-p\">邮箱：</td>\\n                <td>1020614544@qq.com</td>\\n              </tr>\\n              <tr>\\n                <td class=\"s-p\">手机：</td>\\n                <td></td>\\n                <td class=\"s-p\">固定电话：</td>\\n                <td></td>\\n              </tr>\\n              <tr>\\n                <td class=\"s-p\">QQ：</td>\\n                <td></td>\\n                <td class=\"s-p\">MSN：</td>\\n                <td></td>\\n              </tr>\\n              <tr>\\n                <td class=\"s-p\">来自：</td>\\n                <td></td>\\n                <td class=\"s-p\">财富收益：</td>\\n                <td></td>\\n              </tr>\\n              <tr>\\n                <td class=\"s-p\">自我介绍：</td>\\n                <td colspan=\"3\"></td>\\n              </tr>\\n            </tbody>\\n          </table>\\n        </div>\\n      </div>\\n    </div>\\n    <div class=\"m-sj\"></div>\\n  </div>\\n</div>\\n<!--底部开始-->\\n  <div id=\"fp\" class=\"fp\">\\n    <div class=\"fpDiv\">\\n      <div class=\"logo\"> </div>\\n      <div class=\"fMenu\">\\n        <dl>\\n          <dt>\\n\\t\\t\\t隐私和协议\\n\\t\\t\\t</dt>\\n          <dd>\\n            <ul>\\n    \\t\\t\\t\\t <li><a href=\"/bdrace/bbgx.html\">版本更新</a></li>\\n            </ul>\\n          </dd>\\n        </dl>\\n        <dl>\\n          <dt>\\n\\t\\t\\t交流和分享\\n\\t\\t\\t</dt>\\n          <dd>\\n            <ul>\\n    \\t\\t\\t\\t <li><a href=\"/bdrace/QQ.html\">官方QQ群</a></li>\\n    \\t\\t\\t\\t <li><a href=\"/bdrace/tg.html\">投稿</a></li>\\n    \\t\\t\\t\\t <li><a href=\"/bdrace/lxwm.html\">联系我们</a></li>\\n            </ul>\\n          </dd>\\n        </dl>\\n        <dl>\\n          <dt>\\n\\t\\t\\t商务合作\\n\\t\\t\\t</dt>\\n          <dd>\\n            <ul>\\n    \\t\\t\\t\\t <li><a href=\"/bdrace/xmhz.html\">项目合作</a></li>\\n    \\t\\t\\t\\t <li><a href=\"/bdrace/rcxq.html\">招聘需求</a></li>\\n    \\t\\t\\t\\t <li><a href=\"/bdrace/“tdb”hzhbzj.html\">“泰迪杯”合作伙伴征集</a></li>\\n            </ul>\\n          </dd>\\n        </dl>\\n        <div class=\"clear\"></div>\\n      </div>\\n      <div class=\"weixin\">请关注“官方公众号”</div>\\n      <div class=\"clear\"></div>\\n    </div>\\n    <div class=\"webCP\">Copyright © 2013－2020 &nbsp; 广东泰迪智能科技股份有限公司 &nbsp; 技术支持 &nbsp; 粤ICP备14098620号</div>\\n    <div class=\"fpBg\"></div>\\n  </div>\\n   <!--底部结束--></body>\\n</html>\\n'"
      ]
     },
     "execution_count": 20,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "s.get('https://www.tipdm.org/member/index.jspx').content.decode('utf-8')#在当前的session下进入会员中心，不能用request，否则会提示没有登陆"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 使用cookie来实现模拟登录"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "metadata": {},
   "outputs": [],
   "source": [
    "cookie=' _site_id_cookie=1; clientlanguage=zh_CN; uniqueVisitorId=84b338d7-0aac-73ae-10ce-4721c29ff19b; username=17832177097; sso_logout=true; locationUrl=\"https://www.tipdm.org/bdrace/index.html\"; JSESSIONID=264B9C1B8151DD4F0A9ECA251A73C2AE'\n",
    "Cookies={}#发送请求时携带Cookie的参数接受的参数是cookies，接收字典或CookieJar,而浏览器中的Cookie是str\n",
    "for i in cookie.split(';'):#将cookie转化为字典\n",
    "    key, value=i.split('=')\n",
    "    Cookies[key]=value"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{' _site_id_cookie': '1',\n",
       " ' clientlanguage': 'zh_CN',\n",
       " ' uniqueVisitorId': '84b338d7-0aac-73ae-10ce-4721c29ff19b',\n",
       " ' username': '17832177097',\n",
       " ' sso_logout': 'true',\n",
       " ' locationUrl': '\"https://www.tipdm.org/bdrace/index.html\"',\n",
       " ' JSESSIONID': '264B9C1B8151DD4F0A9ECA251A73C2AE'}"
      ]
     },
     "execution_count": 32,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Cookies"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 34,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\\n<head>\\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\\n<title>BdRace数睿思_数据挖掘竞赛平台</title>\\n<link type=\"text/css\" rel=\"stylesheet\" href=\"/r/cms/www/red/css/index.css\" />\\n<link href=\"/r/cms/front.css\" rel=\"stylesheet\" type=\"text/css\"/>\\n<script src=\"/r/cms/jquery.js\" type=\"text/javascript\"></script>\\n<script src=\"/r/cms/front.js\" type=\"text/javascript\"></script>\\n<!--[if lt IE 9]> \\n<script src=\"/r/cms/www/red/js/html5shiv.min.js\"></script>\\n<script src=\"/r/cms/www/red/js/respond.min.js\"></script>\\n<![endif]-->\\n</head>\\n<body>\\n<script src=\"/r/cms/easyui/plugins/jquery.form.js\" type=\"text/javascript\"></script>\\n<script src=\"/r/cms/easyui/plugins/jquery.validate.js\" type=\"text/javascript\"></script>\\n<script src=\"/r/cms/front.js\" type=\"text/javascript\"></script>\\n<!--start top class -->\\n<script type=\"text/javascript\">\\n\\tfunction guidGenerator() {\\n\\t\\tvar S4 = function() {\\n\\t\\t\\treturn (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);\\n\\t\\t};\\n\\t\\treturn (S4() + S4() + \"-\" + S4() + \"-\" + S4() + \"-\" + S4() + \"-\" + S4()+ S4() + S4());\\n\\t}\\n\\tvar cookie = {};\\n\\tcookie.set = function(n, v, t) {\\n\\t\\tvar exp = new Date();\\n\\t\\texp.setTime(exp.getTime() + (t || 24) * 60 * 60 * 1000 * 365);\\n\\t\\tdocument.cookie = n + \"=\" + escape(v) + \";expires=\" + exp.toGMTString()+ \\';path=/\\';\\n\\t}\\n\\n\\tcookie.get = function(n) {\\n\\t\\tvar arr = document.cookie.match(new RegExp(\"(^| )\" + n+ \"=([^;]*)(;|$)\"));\\n\\t\\tif (arr != null) {\\n\\t\\t\\treturn unescape(arr[2]);\\n\\t\\t}\\n\\t\\treturn null;\\n\\t}\\n\\n\\tvar uniqueVisitorId;\\n\\tvar co = cookie.get(\\'uniqueVisitorId\\');\\n\\tif (co != null) {\\n\\t\\tuniqueVisitorId = cookie.get(\\'uniqueVisitorId\\');\\n\\t} else {\\n\\t\\tuniqueVisitorId = guidGenerator();\\n\\t\\tcookie.set(\\'uniqueVisitorId\\', uniqueVisitorId);\\n\\t}\\n    window.onload = function(){\\n        var timestamp = (new Date()).getTime();\\n        if(timestamp<1586504136000)\\n\\t\\t{\\n\\t\\t    if(document.getElementById(\"hiddenp\")!=null){\\n            \\tdocument.getElementById(\"hiddenp\").style.visibility=\"hidden\";\\n            }\\n\\t\\t}\\n    }\\n</script>\\n<!--头部开始-->\\n<div id=\"hp\" class=\"hp\">\\n\\t<div class=\"header\">\\n\\t\\t<div class=\"headerDiv\">\\n\\t\\t\\t<a class=\"logo\" href=\"/\"></a>\\n\\t\\t\\t<div id=\"Menu\" class=\"Menu\">\\n\\t\\t\\t\\t<ul class=\"ul1\">\\n\\t\\t\\t\\t\\t\\t<li class=\"li1  cur\">\\n\\t\\t\\t\\t\\t\\t\\t<a\\tclass=\"a1  selected \" href=\"/\"target=\"_self\">首 页</a>\\n\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t<li class=\"li1 \">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a\\tclass=\"a1 \"href=\"/bdrace/tzjingsai\" target=\"\">挑战赛</a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<ul id=\"ul149\" class=\"ul2\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"http://www.tipdm.org/tzjingsai/1628.jhtml\">第八届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"http://www.tipdm.org/bdrace/tzjingsai/20181226/1544.html\">第七届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"/bdrace/tzjingsai/20170921/1253.html\">第六届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"/bdrace/tzjingsai/20161227/1030.html\">第五届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"/bdrace/tzjingsai/20160401/712.html\">第四届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"/bdrace/tzjingsai/20150301/613.html\">第三届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"/bdrace/tzjingsai/20140301/612.html\">第二届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"/bdrace/tzjingsai/20130301/611.html\">第一届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t<li class=\"li1 \">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a\\tclass=\"a1 \"href=\"/bdrace/jljingsai\" target=\"\">技能赛</a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<ul id=\"ul407\" class=\"ul2\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"http://www.tipdm.org/bdrace/jljingsai/20190809/1605.html\">第二届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"/bdrace/jljingsai/20181008/1488.html\">第一届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t<li class=\"li1 \">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a\\tclass=\"a1 \"href=\"https://www.tipdm.org/bdrace/jsgsmcm/\" target=\"_blank\">苏研数模</a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<ul id=\"ul427\" class=\"ul2\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"https://www.tipdm.org/bdrace/jsgsmcm/20200526/1647.html\">2020年（第二届）苏研数模</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"http://www.tipdm.org/jssyjssxjmkycxsjds/1564.jhtml\">2019年（第一届）苏研数模</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t<li class=\"li1 \">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a\\tclass=\"a1 \"href=\"/bdrace/notices/\" target=\"\">新闻动态</a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<ul id=\"ul150\" class=\"ul2\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t<li class=\"li1 \">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a\\tclass=\"a1 \"href=\"https://edu.tipdm.org\" target=\"_blank\">云课堂</a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<ul id=\"ul424\" class=\"ul2\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t<li class=\"li1 \">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a\\tclass=\"a1 \"href=\"http://mx.tipdm.org/\" target=\"\">模型交易</a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<ul id=\"ul219\" class=\"ul2\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t</ul>\\n\\t\\t\\t</div>\\n<div id=\"loginCsiDiv\" class=\"cutLink\"></div>\\n<script type=\"text/javascript\">\\n$(function(){\\n\\tCms.loginCsi(\"\",\"loginCsiDiv\",{\"returnUrl\":\"https://www.tipdm.org/member/index.jspx\"});\\n});\\n</script>\\t\\t\\t<div class=\"clear\"></div>\\n\\t\\t</div>\\n\\t</div>\\n</div>\\n<!--头部结束-->\\n<!--end top class --><div class=\"member-con\">\\n  <div class=\"m-pos\"><a href=\"/\">首页</a> &gt; <span>会员中心</span></div>\\n  <div class=\"member clearfix\">\\n    <div class=\"memberLeft clearfix\">\\n      <div class=\"member-nav\">\\n        <ul>\\n<li class=\"uInfo\">\\n      <div class=\"memberImg\"><img src=\"/r/cms/www/red/images/userImg-large.png\"></div>\\n      <div class=\"memberName\">您好，<span>17832177097</span></div>\\n      <div class=\"memberOut\"><a href=\"/logout.jspx\">退出</a></div>\\n      <div class=\"uGroup\">个 </div>\\n</li>          <li><a href=\"/member/index.jspx\" class=\"on\">个人资料</a></li>\\n          <li><a href=\"/member/contribute_list.jspx\">投稿管理</a></li>\\n          <li><a href=\"/member/doc_list.jspx?modelId=9\">文档管理</a></li>\\n          <li><a href=\"/member/resume.jspx\">应聘管理</a></li>\\n          <li><a href=\"/member/mycomments.jspx\">我的评论</a></li>\\n          <li><a href=\"/member/myguestbook.jspx\">我的留言</a></li>\\n          <li><a href=\"/member/collection_list.jspx\">我的收藏</a></li>\\n          <li><a href=\"/member/message_mng.jspx\">站内信息</a></li>\\n          <li><a href=\"/member/account.jspx\">服务中心</a></li>\\n        </ul>\\n      </div>\\n      <div class=\"member-main\">\\n        <div class=\"member-child\"><a href=\"/member/index.jspx\" class=\"on\">用户信息</a>|<a href=\"/member/profile.jspx\">修改个人资料</a>|<a href=\"/member/portrait.jspx\">更换头像</a>|<a href=\"/member/pwd.jspx\">修改密码</a></div>\\n        <div class=\"member-text\">\\n          <table cellpadding=\"0\" cellspacing=\"0\" class=\"userInfo\">\\n            <tbody>\\n              <tr>\\n                <td class=\"s-p\">用户昵称：</td>\\n                <td>17832177097</td>\\n                <td class=\"s-p\">会员组别：</td>\\n                <td width=\"40%\" class=\"hyzb\">个人会员</td>\\n              </tr>\\n              <tr>\\n                <td class=\"s-p\">性别：</td>\\n                <td>保密</td>\\n                <td class=\"s-p\">出生日期：</td>\\n                <td></td>\\n              </tr>\\n              <tr>\\n                <td class=\"s-p\">真实姓名：</td>\\n                <td></td>\\n                <td class=\"s-p\">邮箱：</td>\\n                <td>1020614544@qq.com</td>\\n              </tr>\\n              <tr>\\n                <td class=\"s-p\">手机：</td>\\n                <td></td>\\n                <td class=\"s-p\">固定电话：</td>\\n                <td></td>\\n              </tr>\\n              <tr>\\n                <td class=\"s-p\">QQ：</td>\\n                <td></td>\\n                <td class=\"s-p\">MSN：</td>\\n                <td></td>\\n              </tr>\\n              <tr>\\n                <td class=\"s-p\">来自：</td>\\n                <td></td>\\n                <td class=\"s-p\">财富收益：</td>\\n                <td></td>\\n              </tr>\\n              <tr>\\n                <td class=\"s-p\">自我介绍：</td>\\n                <td colspan=\"3\"></td>\\n              </tr>\\n            </tbody>\\n          </table>\\n        </div>\\n      </div>\\n    </div>\\n    <div class=\"m-sj\"></div>\\n  </div>\\n</div>\\n<!--底部开始-->\\n  <div id=\"fp\" class=\"fp\">\\n    <div class=\"fpDiv\">\\n      <div class=\"logo\"> </div>\\n      <div class=\"fMenu\">\\n        <dl>\\n          <dt>\\n\\t\\t\\t隐私和协议\\n\\t\\t\\t</dt>\\n          <dd>\\n            <ul>\\n    \\t\\t\\t\\t <li><a href=\"/bdrace/bbgx.html\">版本更新</a></li>\\n            </ul>\\n          </dd>\\n        </dl>\\n        <dl>\\n          <dt>\\n\\t\\t\\t交流和分享\\n\\t\\t\\t</dt>\\n          <dd>\\n            <ul>\\n    \\t\\t\\t\\t <li><a href=\"/bdrace/QQ.html\">官方QQ群</a></li>\\n    \\t\\t\\t\\t <li><a href=\"/bdrace/tg.html\">投稿</a></li>\\n    \\t\\t\\t\\t <li><a href=\"/bdrace/lxwm.html\">联系我们</a></li>\\n            </ul>\\n          </dd>\\n        </dl>\\n        <dl>\\n          <dt>\\n\\t\\t\\t商务合作\\n\\t\\t\\t</dt>\\n          <dd>\\n            <ul>\\n    \\t\\t\\t\\t <li><a href=\"/bdrace/xmhz.html\">项目合作</a></li>\\n    \\t\\t\\t\\t <li><a href=\"/bdrace/rcxq.html\">招聘需求</a></li>\\n    \\t\\t\\t\\t <li><a href=\"/bdrace/“tdb”hzhbzj.html\">“泰迪杯”合作伙伴征集</a></li>\\n            </ul>\\n          </dd>\\n        </dl>\\n        <div class=\"clear\"></div>\\n      </div>\\n      <div class=\"weixin\">请关注“官方公众号”</div>\\n      <div class=\"clear\"></div>\\n    </div>\\n    <div class=\"webCP\">Copyright © 2013－2020 &nbsp; 广东泰迪智能科技股份有限公司 &nbsp; 技术支持 &nbsp; 粤ICP备14098620号</div>\\n    <div class=\"fpBg\"></div>\\n  </div>\\n   <!--底部结束--></body>\\n</html>\\n'"
      ]
     },
     "execution_count": 34,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import requests\n",
    "head={'User-Agent':'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.96 Safari/537.36'}\n",
    "requests.get('https://www.tipdm.org/member/index.jspx',cookies=Cookies,headers=head).content.decode('utf-8')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 基于表单登录的cookies登录"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "output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z/8LYNdG72MAlwB4BsDTAG4EsH2j9TOAW1Dy+D9A6Ql7qtevKFkoM8rj2VMoZejk2l7NxBRCiIKimZhCCFFQNIALIURB0QAuhBAFRQO4EEIUFA3gQghRUDSACyFEQdEALoQQBUUDuBBCFJT/B2bIU4XAjkQOAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "请输入验证码:vpxp\n",
      "https://www.tipdm.org/bdrace/index.html\n"
     ]
    }
   ],
   "source": [
    "import requests\n",
    "import matplotlib.pyplot as plt\n",
    "from http.cookiejar import LWPCookieJar#将s.cookie转换成LWPCookieJar对象\n",
    "\n",
    "s=requests.Session()#创建一个会话，使下面的操作都在同一个客户端中\n",
    "\n",
    "#创建LWPCookieJar对象\n",
    "s.cookies=LWPCookieJar('cookie')#如果cookie不存在会创建一个cookie文件，命名cookie\n",
    "\n",
    "url='https://www.tipdm.org/login.jspx'\n",
    "\n",
    "rqq=s.get('https://www.tipdm.org/captcha.svl')\n",
    "with open('./captcha.jpg','wb')as f:#将上边的信息写入并保存到本地文件里\n",
    "    f.write(rqq.content)#写入\n",
    "    \n",
    "pic=plt.imread('./captcha.jpg')#读取当前工作路径下的jpg文件，imread是图片的读取\n",
    "plt.imshow(pic)\n",
    "plt.show()\n",
    "a=input('请输入验证码:')#手动输入\n",
    "\n",
    "login={'username': '17832177097' ,#账号\n",
    "      'password': 'zxc789789',#密码\n",
    "      'captcha': a,}#验证码\n",
    "rqq=s.post(url,data=login)#登录\n",
    "print(rqq.url)#检测是否正常登录\n",
    "\n",
    "s.cookies.save(ignore_discard=True,ignore_expires=True)#保存cookie，保存到刚刚LWP创建的cookie文件"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [],
   "source": [
    "s.cookies.load(ignore_discard=True,ignore_expires=True)#加载cookie,参数是对cookie的覆盖加载处理"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\\n<head>\\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\\n<title>BdRace数睿思_数据挖掘竞赛平台</title>\\n<link type=\"text/css\" rel=\"stylesheet\" href=\"/r/cms/www/red/css/index.css\" />\\n<link href=\"/r/cms/front.css\" rel=\"stylesheet\" type=\"text/css\"/>\\n<script src=\"/r/cms/jquery.js\" type=\"text/javascript\"></script>\\n<script src=\"/r/cms/front.js\" type=\"text/javascript\"></script>\\n<!--[if lt IE 9]> \\n<script src=\"/r/cms/www/red/js/html5shiv.min.js\"></script>\\n<script src=\"/r/cms/www/red/js/respond.min.js\"></script>\\n<![endif]-->\\n</head>\\n<body>\\n<script src=\"/r/cms/easyui/plugins/jquery.form.js\" type=\"text/javascript\"></script>\\n<script src=\"/r/cms/easyui/plugins/jquery.validate.js\" type=\"text/javascript\"></script>\\n<script src=\"/r/cms/front.js\" type=\"text/javascript\"></script>\\n<!--start top class -->\\n<script type=\"text/javascript\">\\n\\tfunction guidGenerator() {\\n\\t\\tvar S4 = function() {\\n\\t\\t\\treturn (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);\\n\\t\\t};\\n\\t\\treturn (S4() + S4() + \"-\" + S4() + \"-\" + S4() + \"-\" + S4() + \"-\" + S4()+ S4() + S4());\\n\\t}\\n\\tvar cookie = {};\\n\\tcookie.set = function(n, v, t) {\\n\\t\\tvar exp = new Date();\\n\\t\\texp.setTime(exp.getTime() + (t || 24) * 60 * 60 * 1000 * 365);\\n\\t\\tdocument.cookie = n + \"=\" + escape(v) + \";expires=\" + exp.toGMTString()+ \\';path=/\\';\\n\\t}\\n\\n\\tcookie.get = function(n) {\\n\\t\\tvar arr = document.cookie.match(new RegExp(\"(^| )\" + n+ \"=([^;]*)(;|$)\"));\\n\\t\\tif (arr != null) {\\n\\t\\t\\treturn unescape(arr[2]);\\n\\t\\t}\\n\\t\\treturn null;\\n\\t}\\n\\n\\tvar uniqueVisitorId;\\n\\tvar co = cookie.get(\\'uniqueVisitorId\\');\\n\\tif (co != null) {\\n\\t\\tuniqueVisitorId = cookie.get(\\'uniqueVisitorId\\');\\n\\t} else {\\n\\t\\tuniqueVisitorId = guidGenerator();\\n\\t\\tcookie.set(\\'uniqueVisitorId\\', uniqueVisitorId);\\n\\t}\\n    window.onload = function(){\\n        var timestamp = (new Date()).getTime();\\n        if(timestamp<1586504136000)\\n\\t\\t{\\n\\t\\t    if(document.getElementById(\"hiddenp\")!=null){\\n            \\tdocument.getElementById(\"hiddenp\").style.visibility=\"hidden\";\\n            }\\n\\t\\t}\\n    }\\n</script>\\n<!--头部开始-->\\n<div id=\"hp\" class=\"hp\">\\n\\t<div class=\"header\">\\n\\t\\t<div class=\"headerDiv\">\\n\\t\\t\\t<a class=\"logo\" href=\"/\"></a>\\n\\t\\t\\t<div id=\"Menu\" class=\"Menu\">\\n\\t\\t\\t\\t<ul class=\"ul1\">\\n\\t\\t\\t\\t\\t\\t<li class=\"li1  cur\">\\n\\t\\t\\t\\t\\t\\t\\t<a\\tclass=\"a1  selected \" href=\"/\"target=\"_self\">首 页</a>\\n\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t<li class=\"li1 \">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a\\tclass=\"a1 \"href=\"/bdrace/tzjingsai\" target=\"\">挑战赛</a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<ul id=\"ul149\" class=\"ul2\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"http://www.tipdm.org/tzjingsai/1628.jhtml\">第八届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"http://www.tipdm.org/bdrace/tzjingsai/20181226/1544.html\">第七届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"/bdrace/tzjingsai/20170921/1253.html\">第六届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"/bdrace/tzjingsai/20161227/1030.html\">第五届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"/bdrace/tzjingsai/20160401/712.html\">第四届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"/bdrace/tzjingsai/20150301/613.html\">第三届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"/bdrace/tzjingsai/20140301/612.html\">第二届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"/bdrace/tzjingsai/20130301/611.html\">第一届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t<li class=\"li1 \">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a\\tclass=\"a1 \"href=\"/bdrace/jljingsai\" target=\"\">技能赛</a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<ul id=\"ul407\" class=\"ul2\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"http://www.tipdm.org/bdrace/jljingsai/20190809/1605.html\">第二届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"/bdrace/jljingsai/20181008/1488.html\">第一届</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t<li class=\"li1 \">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a\\tclass=\"a1 \"href=\"https://www.tipdm.org/bdrace/jsgsmcm/\" target=\"_blank\">苏研数模</a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<ul id=\"ul427\" class=\"ul2\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"https://www.tipdm.org/bdrace/jsgsmcm/20200526/1647.html\">2020年（第二届）苏研数模</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"li2\"><a class=\"a2\" href=\"http://www.tipdm.org/jssyjssxjmkycxsjds/1564.jhtml\">2019年（第一届）苏研数模</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t<li class=\"li1 \">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a\\tclass=\"a1 \"href=\"/bdrace/notices/\" target=\"\">新闻动态</a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<ul id=\"ul150\" class=\"ul2\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t<li class=\"li1 \">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a\\tclass=\"a1 \"href=\"https://edu.tipdm.org\" target=\"_blank\">云课堂</a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<ul id=\"ul424\" class=\"ul2\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t<li class=\"li1 \">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a\\tclass=\"a1 \"href=\"http://mx.tipdm.org/\" target=\"\">模型交易</a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<ul id=\"ul219\" class=\"ul2\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t</ul>\\n\\t\\t\\t</div>\\n<div id=\"loginCsiDiv\" class=\"cutLink\"></div>\\n<script type=\"text/javascript\">\\n$(function(){\\n\\tCms.loginCsi(\"\",\"loginCsiDiv\",{\"returnUrl\":\"https://www.tipdm.org/member/index.jspx\"});\\n});\\n</script>\\t\\t\\t<div class=\"clear\"></div>\\n\\t\\t</div>\\n\\t</div>\\n</div>\\n<!--头部结束-->\\n<!--end top class --><div class=\"member-con\">\\n  <div class=\"m-pos\"><a href=\"/\">首页</a> &gt; <span>会员中心</span></div>\\n  <div class=\"member clearfix\">\\n    <div class=\"memberLeft clearfix\">\\n      <div class=\"member-nav\">\\n        <ul>\\n<li class=\"uInfo\">\\n      <div class=\"memberImg\"><img src=\"/r/cms/www/red/images/userImg-large.png\"></div>\\n      <div class=\"memberName\">您好，<span>17832177097</span></div>\\n      <div class=\"memberOut\"><a href=\"/logout.jspx\">退出</a></div>\\n      <div class=\"uGroup\">个 </div>\\n</li>          <li><a href=\"/member/index.jspx\" class=\"on\">个人资料</a></li>\\n          <li><a href=\"/member/contribute_list.jspx\">投稿管理</a></li>\\n          <li><a href=\"/member/doc_list.jspx?modelId=9\">文档管理</a></li>\\n          <li><a href=\"/member/resume.jspx\">应聘管理</a></li>\\n          <li><a href=\"/member/mycomments.jspx\">我的评论</a></li>\\n          <li><a href=\"/member/myguestbook.jspx\">我的留言</a></li>\\n          <li><a href=\"/member/collection_list.jspx\">我的收藏</a></li>\\n          <li><a href=\"/member/message_mng.jspx\">站内信息</a></li>\\n          <li><a href=\"/member/account.jspx\">服务中心</a></li>\\n        </ul>\\n      </div>\\n      <div class=\"member-main\">\\n        <div class=\"member-child\"><a href=\"/member/index.jspx\" class=\"on\">用户信息</a>|<a href=\"/member/profile.jspx\">修改个人资料</a>|<a href=\"/member/portrait.jspx\">更换头像</a>|<a href=\"/member/pwd.jspx\">修改密码</a></div>\\n        <div class=\"member-text\">\\n          <table cellpadding=\"0\" cellspacing=\"0\" class=\"userInfo\">\\n            <tbody>\\n              <tr>\\n                <td class=\"s-p\">用户昵称：</td>\\n                <td>17832177097</td>\\n                <td class=\"s-p\">会员组别：</td>\\n                <td width=\"40%\" class=\"hyzb\">个人会员</td>\\n              </tr>\\n              <tr>\\n                <td class=\"s-p\">性别：</td>\\n                <td>保密</td>\\n                <td class=\"s-p\">出生日期：</td>\\n                <td></td>\\n              </tr>\\n              <tr>\\n                <td class=\"s-p\">真实姓名：</td>\\n                <td></td>\\n                <td class=\"s-p\">邮箱：</td>\\n                <td>1020614544@qq.com</td>\\n              </tr>\\n              <tr>\\n                <td class=\"s-p\">手机：</td>\\n                <td></td>\\n                <td class=\"s-p\">固定电话：</td>\\n                <td></td>\\n              </tr>\\n              <tr>\\n                <td class=\"s-p\">QQ：</td>\\n                <td></td>\\n                <td class=\"s-p\">MSN：</td>\\n                <td></td>\\n              </tr>\\n              <tr>\\n                <td class=\"s-p\">来自：</td>\\n                <td></td>\\n                <td class=\"s-p\">财富收益：</td>\\n                <td></td>\\n              </tr>\\n              <tr>\\n                <td class=\"s-p\">自我介绍：</td>\\n                <td colspan=\"3\"></td>\\n              </tr>\\n            </tbody>\\n          </table>\\n        </div>\\n      </div>\\n    </div>\\n    <div class=\"m-sj\"></div>\\n  </div>\\n</div>\\n<!--底部开始-->\\n  <div id=\"fp\" class=\"fp\">\\n    <div class=\"fpDiv\">\\n      <div class=\"logo\"> </div>\\n      <div class=\"fMenu\">\\n        <dl>\\n          <dt>\\n\\t\\t\\t隐私和协议\\n\\t\\t\\t</dt>\\n          <dd>\\n            <ul>\\n    \\t\\t\\t\\t <li><a href=\"/bdrace/bbgx.html\">版本更新</a></li>\\n            </ul>\\n          </dd>\\n        </dl>\\n        <dl>\\n          <dt>\\n\\t\\t\\t交流和分享\\n\\t\\t\\t</dt>\\n          <dd>\\n            <ul>\\n    \\t\\t\\t\\t <li><a href=\"/bdrace/QQ.html\">官方QQ群</a></li>\\n    \\t\\t\\t\\t <li><a href=\"/bdrace/tg.html\">投稿</a></li>\\n    \\t\\t\\t\\t <li><a href=\"/bdrace/lxwm.html\">联系我们</a></li>\\n            </ul>\\n          </dd>\\n        </dl>\\n        <dl>\\n          <dt>\\n\\t\\t\\t商务合作\\n\\t\\t\\t</dt>\\n          <dd>\\n            <ul>\\n    \\t\\t\\t\\t <li><a href=\"/bdrace/xmhz.html\">项目合作</a></li>\\n    \\t\\t\\t\\t <li><a href=\"/bdrace/rcxq.html\">招聘需求</a></li>\\n    \\t\\t\\t\\t <li><a href=\"/bdrace/“tdb”hzhbzj.html\">“泰迪杯”合作伙伴征集</a></li>\\n            </ul>\\n          </dd>\\n        </dl>\\n        <div class=\"clear\"></div>\\n      </div>\\n      <div class=\"weixin\">请关注“官方公众号”</div>\\n      <div class=\"clear\"></div>\\n    </div>\\n    <div class=\"webCP\">Copyright © 2013－2020 &nbsp; 广东泰迪智能科技股份有限公司 &nbsp; 技术支持 &nbsp; 粤ICP备14098620号</div>\\n    <div class=\"fpBg\"></div>\\n  </div>\\n   <!--底部结束--></body>\\n</html>\\n'"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "s.get('https://www.tipdm.org/member/index.jspx').content.decode('utf-8')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [
    {
     "data": {
      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zHyXJIAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "请输入验证码:pm75d\n",
      "https://www.ptpress.com.cn/\n"
     ]
    }
   ],
   "source": [
    "miport requests\n",
    "import matplotlib.pyplot as plt\n",
    "s=requests.Session()#创建一个会话，使下面的操作都在同一个客户端中\n",
    "url='https://www.ptpress.com.cn/login'\n",
    "\n",
    "rqq=s.get('https://www.ptpress.com.cn/kaptcha.jpg?v=0.919871310362647')\n",
    "with open('./captcha.jpg','wb')as f:#将上边的信息写入并保存到本地文件里\n",
    "    f.write(rqq.content)#写入\n",
    "    \n",
    "pic=plt.imread('./captcha.jpg')#读取当前工作路径下的jpg文件，imread是图片的读取\n",
    "plt.imshow(pic)\n",
    "plt.show()\n",
    "a=input('请输入验证码:')#手动输入\n",
    "\n",
    "login={'username': '17832177097' ,#账号\n",
    "      'password': 'zxc789789',#密码\n",
    "      'verifyCode': a}#验证码\n",
    "rqq=s.post(url,data=login)#登录\n",
    "print(rqq.url)#检测是否正常登录"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://www.zhihu.com/\n"
     ]
    }
   ],
   "source": [
    "import requests\n",
    "import matplotlib.pyplot as plt\n",
    "s=requests.Session()#创建一个会话，使下面的操作都在同一个客户端中\n",
    "url='https://www.zhihu.com/'\n",
    "\n",
    "login={'usename': '17832177097' ,#账号\n",
    "      'password': 'zxc789789'#密码\n",
    "      }#验证码\n",
    "rqq=s.post(url,data=login)#登录\n",
    "print(rqq.url)#检测是否正常登录"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
